}
&.dark {
-
-
> overlay {
color: white;
+ }
- &:hover { border-color: if($variant == 'light', transparentize(black, 0.2), $borders_color); }
-
+ &.activatable:hover > overlay {
+ border-color: if($variant == 'light', transparentize(black, 0.2), $borders_color);
}
}
&.light {
-
-
> overlay {
color: black;
+ }
- &:hover { border-color: if($variant == 'light', transparentize(black, 0.5), $borders_color); }
-
+ &.activatable:hover > overlay {
+ border-color: if($variant == 'light', transparentize(black, 0.5), $borders_color);
}
}
> overlay {
border: 1px solid if($variant == 'light', transparentize(black, 0.7), $borders_color);
+ }
- &:hover {
- box-shadow: inset 0 1px transparentize(white, 0.6),
- inset 0 -1px transparentize(black, 0.8);
- }
+ &.activatable:hover > overlay {
+ box-shadow: inset 0 1px transparentize(white, 0.6),
+ inset 0 -1px transparentize(black, 0.8);
}
&#add-color-button {
> overlay {
@include button(normal);
+ }
- &:hover { @include button(hover); }
+ &.activatable:hover > overlay {
+ @include button(hover);
}
}